<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>属性和类名绑定</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <p>属性绑定：</p>
    <a href="https://xueyuanjun.com" v-bind:title="title">学院君网站</a>
</div>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            title: "致力于提供优质中文编程技术学习资源"
        }
    });
</script>
</body>
</html>